<template>
  <view class="bgc-back">
    <view class="p10">
      <SubItem v-for="item in dataLst" :key="item.id" :target="item" />
    </view>
  </view>
</template>
<script>
import { mapState } from "vuex";
import SubItem from "./zhiduListItem.vue";
export default {
  name: "",
  components: { SubItem },
  mixins: [],
  props: {},
  data() {
    return {
      dataLst: []
    };
  },
  computed: {
    ...mapState(["site", "register"]),
    companyId() {
      return this.site.subjectId;
    }
  },
  watch: {},
  created() {
    const temp = uni.getStorageSync("tempZhidu");
    if (temp) {
      this.dataLst = JSON.parse(temp);
    }
  },
  mounted() {},
  methods: {}
};
</script>
<style lang="scss"></style>
